//
//  AndonAnimation.h
//  Animation
//
//  Created by 董文博 on 15/1/27.
//  Copyright (c) 2015年 OA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface AndonAnimation : NSObject
//+ (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion NS_AVAILABLE_IOS(4_0); // delay = 0.0, options = 0

//+ (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations
/**
 *  警示动画（类似alertView）
 */
+ (void)alertAnimateWithDuration:(NSTimeInterval)duration View:(UIView *)view;
/**
 *  知乎日报的放大淡出动画
 *
 */
+ (void)zhihuDailyAnimateWithView:(UIView *)view;

+ (void)transitionWithType:(NSString *)type WithSubtype:(NSString *) subtype ForView:(UIView *) view;
@end
